-
Home
-
Advanced Dynamic Pricing for WooCommerce
-
4.1.0
-
Code
-
Classes
- Cart
Total Complexity |
88 |
Dependencies |
12 |
Dependents |
11 |
Total lines |
575 |
Lines of code |
285 |
Logical lines of code |
166 |
Comment lines |
146 |
Methods |
43 |
Properties |
12 |
Methods 43
Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
addSingleItem() |
A |
49 |
13 |
29 |
__clone() |
S |
51 |
6 |
31 |
sortItems() |
S |
61 |
5 |
13 |
addToCart() |
S |
63 |
5 |
11 |
addAutoAddItem() |
S |
58 |
4 |
15 |
addFreeItem() |
S |
59 |
4 |
14 |
hasImmutableChangedItems() |
S |
64 |
4 |
10 |
removeProductOriginCoupon() |
S |
60 |
3 |
13 |
addRuleTriggerCoupon() |
S |
72 |
3 |
5 |
setItems() |
S |
67 |
3 |
8 |
removeCartOriginCoupon() |
S |
61 |
2 |
13 |
removeRuleTriggerCoupon() |
S |
68 |
2 |
7 |
addCouponsAdjustments() |
S |
74 |
2 |
5 |
removeOriginCoupon() |
S |
68 |
2 |
7 |
isEmpty() |
S |
78 |
2 |
3 |
addFee() |
S |
80 |
1 |
3 |
getCouponsAdjustments() |
S |
82 |
1 |
3 |
clearNotices() |
S |
81 |
1 |
3 |
getNotices() |
S |
74 |
1 |
5 |
addNotice() |
S |
80 |
1 |
3 |
removeExactItem() |
S |
73 |
1 |
5 |
getRuleTriggerCoupons() |
S |
82 |
1 |
3 |
removeAllRuleTriggerCoupons() |
S |
81 |
1 |
3 |
addOriginCoupon() |
S |
80 |
1 |
3 |
getCurrency() |
S |
82 |
1 |
3 |
setCurrency() |
S |
81 |
1 |
3 |
getFees() |
S |
82 |
1 |
3 |
getCoupons() |
S |
82 |
1 |
3 |
getItems() |
S |
82 |
1 |
3 |
addCoupon() |
S |
80 |
1 |
3 |
getShippingAdjustments() |
S |
82 |
1 |
3 |
addShippingAdjustment() |
S |
80 |
1 |
3 |
destroyEmptyItems() |
S |
73 |
1 |
5 |
purgeMutableItems() |
S |
73 |
1 |
5 |
getMutableItems() |
S |
71 |
1 |
6 |
removeAllOriginCoupon() |
S |
81 |
1 |
3 |
getContext() |
S |
82 |
1 |
3 |
purgeAutoAddItems() |
S |
81 |
1 |
3 |
getAutoAddItems() |
S |
82 |
1 |
3 |
purgeFreeItems() |
S |
81 |
1 |
3 |
getFreeItems() |
S |
82 |
1 |
3 |
getOriginCoupons() |
S |
82 |
1 |
3 |
__construct() |
S |
66 |
1 |
9 |